Change in openvpn[master]: t_client.sh: Do not use CA_CERT variable as indicator for good .rc file
A message that is not in the archive (sent off-list or not yet received): gerrit.1778070626000.I7cf7146c3c4f1a01b0bcb57e03d09b32f8b59780@...2715...
Attention is currently required from: plaisthos.
Hello plaisthos,
I'd like you to do a code review.
Please visit
http://gerrit.openvpn.net/c/openvpn/+/1664?usp=email
to review the following change.
Change subject: t_client.sh: Do not use CA_CERT variable as indicator for good .rc file
......................................................................
t_client.sh: Do not use CA_CERT variable as indicator for good .rc file
t_client.sh doesn't actually care about this variable, and our .rc files do not use it anymore. If you really want to dynamically skip running t_client.sh just set TEST_RUN_LIST to empty in the .rc file.
---
M tests/t_client.sh.in
1 file changed, 0 insertions(+), 5 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/64/1664/1
tests/t_client.sh.in +0 -5
@@ -62,11 +62,6 @@ exit 1 fi -if [ -z "$CA_CERT" ] ; then - echo "CA_CERT not defined in 't_client.rc'. SKIP test." >&2 - exit "${TCLIENT_SKIP_RC}" -fi - if [ -z "$TEST_RUN_LIST" ] ; then echo "TEST_RUN_LIST empty, no tests defined. SKIP test." >&2 exit "${TCLIENT_SKIP_RC}"
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1664?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I7cf7146c3c4f1a01b0bcb57e03d09b32f8b59780
Gerrit-Change-Number: 1664
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Attention is currently required from: flichtenheld, plaisthos.
cron2 has posted comments on this change by flichtenheld. ( http://gerrit.openvpn.net/c/openvpn/+/1664?usp=email )
Change subject: t_client.sh: Do not use CA_CERT variable as indicator for good .rc file
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1664?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I7cf7146c3c4f1a01b0bcb57e03d09b32f8b59780
Gerrit-Change-Number: 1664
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-Comment-Date: Wed, 06 May 2026 14:58:47 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
PATCH 1/1 t_client.sh: Do not use CA_CERT variable as indicator for good .rc file
In reply to a message not in the archiveFrom: Frank Lichtenheld <[email protected]...>
t_client.sh doesn't actually care about this variable, and our .rc files do not use it anymore. If you really want to dynamically skip running t_client.sh just set TEST_RUN_LIST to empty in the .rc file.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1664
---
This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1664
This mail reflects revision 1 of this Change.
Acked-by according to Gerrit (reflected above):
Gert Doering <[email protected]...>
tests/t_client.sh.in +0 -5
@@ -62,11 +62,6 @@ exit 1 fi -if [ -z "$CA_CERT" ] ; then - echo "CA_CERT not defined in 't_client.rc'. SKIP test." >&2 - exit "${TCLIENT_SKIP_RC}" -fi - if [ -z "$TEST_RUN_LIST" ] ; then echo "TEST_RUN_LIST empty, no tests defined. SKIP test." >&2 exit "${TCLIENT_SKIP_RC}"
[Openvpn-devel] [PATCH applied] Re: t_client.sh: Do not use CA_CERT variable as indicator for good .rc file
I agree that this check has outlived its usefulness - "back then", the assumption was "you always need a CA and Key and Cert", but with inline configs & --fingerprint and all this, this no longer holds true.
I don't think there is a pressing need to backport this to the other branches we regularily test (2.6, 2.7) as "as of now" our CI setups have already been workarounded ("CA_CERT=1").
Your patch has been applied to the master branch.
commit 841ab0b216a424eb0100448362f76a2c12b3a516
Author: Frank Lichtenheld Date: Wed May 6 16:59:28 2026 +0200
t_client.sh: Do not use CA_CERT variable as indicator for good .rc file
Signed-off-by: Frank Lichtenheld <[email protected]...>
Acked-by: Gert Doering <[email protected]...>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1664
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg36827.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering
cron2 has uploaded a new patch set (#2) to the change originally created by flichtenheld. ( http://gerrit.openvpn.net/c/openvpn/+/1664?usp=email )
The following approvals got outdated and were removed:
Code-Review+2 by cron2
Change subject: t_client.sh: Do not use CA_CERT variable as indicator for good .rc file
......................................................................
t_client.sh: Do not use CA_CERT variable as indicator for good .rc file
t_client.sh doesn't actually care about this variable, and our .rc files do not use it anymore. If you really want to dynamically skip running t_client.sh just set TEST_RUN_LIST to empty in the .rc file.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1664
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg36827.html
---
M tests/t_client.sh.in
1 file changed, 0 insertions(+), 5 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/64/1664/2
tests/t_client.sh.in +0 -5
@@ -62,11 +62,6 @@ exit 1 fi -if [ -z "$CA_CERT" ] ; then - echo "CA_CERT not defined in 't_client.rc'. SKIP test." >&2 - exit "${TCLIENT_SKIP_RC}" -fi - if [ -z "$TEST_RUN_LIST" ] ; then echo "TEST_RUN_LIST empty, no tests defined. SKIP test." >&2 exit "${TCLIENT_SKIP_RC}"
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1664?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I7cf7146c3c4f1a01b0bcb57e03d09b32f8b59780
Gerrit-Change-Number: 1664
Gerrit-PatchSet: 2
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/1664?usp=email )
Change subject: t_client.sh: Do not use CA_CERT variable as indicator for good .rc file
......................................................................
t_client.sh: Do not use CA_CERT variable as indicator for good .rc file
t_client.sh doesn't actually care about this variable, and our .rc files do not use it anymore. If you really want to dynamically skip running t_client.sh just set TEST_RUN_LIST to empty in the .rc file.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1664
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg36827.html
---
M tests/t_client.sh.in
1 file changed, 0 insertions(+), 5 deletions(-)
tests/t_client.sh.in +0 -5
@@ -62,11 +62,6 @@ exit 1 fi -if [ -z "$CA_CERT" ] ; then - echo "CA_CERT not defined in 't_client.rc'. SKIP test." >&2 - exit "${TCLIENT_SKIP_RC}" -fi - if [ -z "$TEST_RUN_LIST" ] ; then echo "TEST_RUN_LIST empty, no tests defined. SKIP test." >&2 exit "${TCLIENT_SKIP_RC}"
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1664?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I7cf7146c3c4f1a01b0bcb57e03d09b32f8b59780
Gerrit-Change-Number: 1664
Gerrit-PatchSet: 2
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>